# _*_ coding:utf-8 _*_
from django.db import models


# Create your models here.
class Message(models.Model):
    object_id = models.CharField(max_length=50, default='', primary_key=True)
    name = models.CharField(max_length=10, verbose_name=u'用户名')
    email = models.EmailField(max_length = 50, verbose_name=u'邮箱')
    address = models.CharField(max_length=100, verbose_name='联系地址')
    message = models.CharField(max_length=500,verbose_name=u'留言消息')
    class Meta:
        verbose_name = '用户留言消息'
